<template>
  <div class="RankingList">
    <div class="head">
      <div class="ift-back" @click="returns"></div>
      <h1>排行榜</h1>
      <div></div>
    </div>
    <rakning></rakning>
    <router-view></router-view>
  </div>
</template>
<script>
import rakning from "../rakningHead.vue";
export default {
  data() {
    return {
    };
  },
  methods: {
    returns() {
      this.$router.push("/homePage");
    },
  },
  components: {
    rakning,
  },
};
</script>
<style lang="less">
.RankingList {
  .head {
    position: fixed;
    width: 96%;
    height: 45px;
    padding: 0 2%;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    z-index: 10;
    .cancel {
      font-size: 14px;
      color: black;
    }
    div {
      width: 45px;
      font-size: 20px;
      color: #fc6976;
    }
    h1 {
      flex: 1;
      font-size: 18px;
      font-weight: 500;
    }
  }
  
}
</style>